package com.link.base.base.product.controller;

import com.link.base.base.product.model.ProductModel;
import com.link.base.base.product.service.ProductModelService;
import com.link.core.basic.controller.BasicController;
import com.link.core.basic.service.BasicService;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.annotation.Resource;

/**
 * @author HONG-DA
 * @date unknown
 * @comments 产品型号
 */
@Controller
@RequestMapping("/link/prodmodel")
public class ProductModelController extends BasicController<ProductModel> {

    @Resource
    private ProductModelService productModelService;

    @Override
    public BasicService<ProductModel> getBasicService() throws Exception {
        return productModelService;
    }

}
